package com.giscloud.amp.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class AmpLoginLog {
    private Long logId;

    private Long loginStaffId;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date loginDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date logoutDate;

    private String token;

    private String ip;

    private Short onlineStatusCd;

    private String remark;

    private Long systemId;


    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Long getLoginStaffId() {
        return loginStaffId;
    }

    public void setLoginStaffId(Long loginStaffId) {
        this.loginStaffId = loginStaffId;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public Date getLogoutDate() {
        return logoutDate;
    }

    public void setLogoutDate(Date logoutDate) {
        this.logoutDate = logoutDate;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token == null ? null : token.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public Short getOnlineStatusCd() {
        return onlineStatusCd;
    }

    public void setOnlineStatusCd(Short onlineStatusCd) {
        this.onlineStatusCd = onlineStatusCd;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getSystemId() {
        return systemId;
    }

    public void setSystemId(Long systemId) {
        this.systemId = systemId;
    }

}